//
//  ContrastConfigBaseView.swift
//  ChanMaMa
//
//  Created by 戴泉明 on 2021/4/21.
//  Copyright © 2021 蝉妈妈-戴泉明. All rights reserved.
//

import UIKit

class ContrastConfigBaseView: UIView {
    
    var path : UIBezierPath?
    
    override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
        if path?.cgPath == nil {
            return true
        } else if path!.cgPath.contains(point) {
            return true
        } else {
            return false
        }
    }
}
